﻿#ifndef POSTCOMMAND_CMDSETHEATMAPSELECTEDCURVENAMEINDEXS_H
#define POSTCOMMAND_CMDSETHEATMAPSELECTEDCURVENAMEINDEXS_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdSetHeatMapSelectedCurveNameIndexs : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSetHeatMapSelectedCurveNameIndexs();
        ~CmdSetHeatMapSelectedCurveNameIndexs();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setHeatMapSelectedCurveNameIndexs(int windowId, QList<int> selectedCurveNameIndexs);

    private:
        int m_windowId;
        QList<int> m_selectedCurveNameIndexs;
    };
} // namespace PostCommand

#endif
